{% extends 'base.html' %}
{% load markdown_deux_tags %}
{% block content %}
{% load avatar_tags %}
<!--&lt;!&ndash;<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>&ndash;&gt;-->
<!--&lt;!&ndash;<script type="text/javascript">&ndash;&gt;-->
    <!--&lt;!&ndash;tinyMCE.init({&ndash;&gt;-->
        <!--&lt;!&ndash;mode : "textareas",&ndash;&gt;-->
        <!--&lt;!&ndash;theme : "simple"&ndash;&gt;-->
    <!--&lt;!&ndash;});&ndash;&gt;-->
<!--</script>-->
<div class="aw-container-wrap">
		<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- 话题推荐bar -->
										<!-- 话题推荐bar -->
					<!-- 话题bar -->
					<div class="aw-mod aw-topic-bar" id="question_topic_editor" data-type="question" data-id="1095">
						<div class="tag-bar clearfix">
														<span class="topic-tag">
								<a href="http://wenda.golaravel.com/topic/%E7%99%BB%E5%BD%95" class="text" data-id="572">登录</a>
							</span>
														<span class="topic-tag">
								<a href="http://wenda.golaravel.com/topic/Login" class="text" data-id="747">Login</a>
							</span>
														<span class="topic-tag">
								<a href="http://wenda.golaravel.com/topic/%E9%94%99%E8%AF%AF" class="text" data-id="492">错误</a>
							</span>
														<span class="topic-tag">
								<a href="http://wenda.golaravel.com/topic/mongodb" class="text" data-id="756">mongodb</a>
							</span>

													</div>
					</div>
					<!-- end 话题bar -->
					<div class="aw-mod aw-question-detail aw-item">
						<div class="mod-head">
                            {% for n in content%}
							<h1>

                                {{n.title}}
                            </h1>

													</div>
						<div class="mod-body">
							<div class="content markitup-box">

															</div>
													</div>
                        {{n.content|safe}}
                         {%endfor%}
						<div class="mod-footer">
							<div class="meta">
								<span class="text-color-999">2015-06-06</span>

								<a data-id="1095" data-type="question" class="aw-add-comment text-color-999 " data-comment-count="0"><i class="icon icon-comment"></i>添加评论</a>



																<div class="pull-right more-operate">

									<!-- <a class="text-color-999"  onclick="AWS.dialog('shareOut', {item_type:'question', item_id:1095});"> -->
									<a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
										<i class="icon icon-share"></i>分享									</a>
									<div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
										<ul class="aw-dropdown-list">
											<li><a onclick="AWS.User.share_out('tsina');"><i class="icon icon-weibo"></i> 新浪微博</a></li>
											<li><a onclick="AWS.User.share_out('qzone');"><i class="icon icon-qzone"></i> QZONE</a></li>
											<li><a onclick="AWS.User.share_out('weixin');"><i class="icon icon-wechat"></i> 微信</a></li>
										</ul>
									</div>

																	</div>
							</div>
						</div>
						<!-- 站内邀请 -->
						<div class="aw-invite-box hide" style="display: none;">
							<div class="mod-head clearfix">
								<div class="search-box pull-left">
									<input id="invite-input" class="form-control" type="text" placeholder="搜索你想邀请的人...">
									<div class="aw-dropdown">
										<p class="title">没有找到相关结果</p>
										<ul class="aw-dropdown-list"></ul>
									</div>
									<i class="icon icon-search"></i>
								</div>
								<div class="invite-list pull-left hide">
									已邀请:
																	</div>
							</div>
													</div>
						<!-- end 站内邀请 -->
						<!-- 评论编辑器-->
						<div class="aw-comment-box" id="aw-comment-box-question-1576" style="display: none;"><div class="aw-comment-list"><div align="center" class="aw-padding10">暂无评论</div></div><form action="http://wenda.golaravel.com/question/ajax/save_question_comment/question_id-1576" method="post" onsubmit="return false"><div class="aw-comment-box-main"><textarea class="aw-comment-txt form-control" rows="2" name="message" placeholder="评论一下..." style="overflow: hidden; word-wrap: break-word; resize: none; height: 34px;"></textarea><div class="aw-comment-box-btn" style="display: none;"><span class="pull-right"><a href="javascript:;" class="btn btn-mini btn-success" onclick="AWS.User.save_comment($(this));">评论</a><a href="javascript:;" class="btn btn-mini btn-gray close-comment-box">取消</a></span></div></div></form></div>
						<!-- end 评论编辑器-->
						<!-- 相关链接 -->
						<div class="aw-question-related-box hide" style="display: none;">
							<form action="http://wenda.golaravel.com/publish/ajax/save_related_link/" method="post" onsubmit="return false" id="related_link_form">
								<div class="mod-head">
									<h2>与内容相关的链接</h2>
								</div>
								<div class="mod-body clearfix">
									<input type="hidden" name="item_id" value="1095">
									<input type="text" class="form-control pull-left" name="link" value="http://">

									<a onclick="AWS.ajax_post($('#related_link_form'));" class="pull-left btn btn-success">提交</a>
								</div>
							</form>
						</div>
						<!-- end 相关链接 -->
					</div>

										<div class="aw-mod aw-question-comment">
						<div class="mod-head">
							<ul class="nav nav-tabs aw-nav-tabs active">

								<h2 class="hidden-xs">1 个回复</h2>
							</ul>
						</div>
						<div class="mod-body aw-feed-list">
															<div class="aw-item" uninterested_count="0" force_fold="0" id="answer_list_2014">
									<div class="mod-head">
																				<a class="anchor" name="answer_2014"></a>
										<!-- 用户头像 -->
										<a class="aw-user-img aw-border-radius-5 pull-right" href="http://wenda.golaravel.com/people/it%E7%94%B7%E9%82%A3%E7%82%B9%E4%BA%8B" data-id="1600"><img src="http://wenda.golaravel.com/static/common/avatar-mid-img.png" alt=""></a>										<!-- end 用户头像 -->
										<div class="title">
											<p>
																									<a class="aw-user-name" href="/" data-id="1600">jiangning</a>
																																																																																					</p>
											<p class="text-color-999 aw-agree-by hide">
												赞同来自:

																							</p>
										</div>
									</div>
									<div class="mod-body clearfix">
										<!-- 评论内容 -->
										<div class="markitup-box"></div>


																				<!-- end 评论内容 -->
									</div>
									<div class="mod-footer">
										<!-- 社交操作 -->
										<div class="meta clearfix">
											<span class="text-color-999 pull-right">2015-06-06</span>
											<!-- 投票栏 -->
											<!--<span class="operate">-->
												<!--<a class="agree  disabled"><i data-placement="right" title="" data-toggle="tooltip" class="icon icon-agree" data-original-title="赞同回复"></i> <b class="count">0</b></a>-->
																							<!--</span>-->
											<!-- end 投票栏 -->
											<!--<span class="operate">-->
												<!--<a class="aw-add-comment" data-id="2014" data-type="answer" data-comment-count="0" href="javascript:;"><i class="icon icon-comment"></i> 0</a>-->
											<!--</span>-->
											<!-- 可显示/隐藏的操作box -->
											<div class="more-operate">

																								<div class="btn-group pull-left">
													<a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
														<i class="icon icon-share"></i> 分享													</a>
													<div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
														<ul class="aw-dropdown-list">
															<li><a onclick="AWS.User.share_out('tsina', $(this).parents('.aw-item').find('.markitup-box').text());"><i class="icon icon-weibo"></i> 新浪微博</a></li>
															<li><a onclick="AWS.User.share_out('qzone', $(this).parents('.aw-item').find('.markitup-box').text());"><i class="icon icon-qzone"></i> QZONE</a></li>
															<li><a onclick="AWS.User.share_out('weixin', $(this).parents('.aw-item').find('.markitup-box').text());"><i class="icon icon-wechat"></i> 微信</a></li>
														</ul>
													</div>
												</div>
																							</div>
											<!-- end 可显示/隐藏的操作box -->

										</div>
										<!-- end 社交操作 -->
									</div>
								</div>
																					</div>
						<div class="mod-footer">
															<div class="aw-load-more-content hide" id="load_uninterested_answers">
									<span class="text-color-999 aw-alert-box text-color-999" href="javascript:;" tabindex="-1" onclick="AWS.alert('被折叠的回复是被你或者被大多数用户认为没有帮助的回复');">为什么被折叠?</span>
									<a href="javascript:;" class="aw-load-more-content"><span class="hide_answers_count">0</span> 个回复被折叠</a>
								</div>

								<div class="hide aw-feed-list" id="uninterested_answers_list"></div>
													</div>

											</div>
										<!-- end 问题详细模块 -->
							<form>
								{{f.media}}
								{{f.as_p}}
							</form>

										<!-- 回复编辑器 -->
					<div class="aw-mod aw-replay-box question">
						<a name="answer_form"></a>
						{% if not user.is_authenticated %}
												<p align="center">要回复问题请先<a href="http://127.0.0.1:8000/accounts/login/">登录</a>或<a href="http://127.0.0.1:8000/account/register/">注册</a></p>
						{% endif %}
											</div>
					<!-- end 回复编辑器 -->
									</div>
				<!-- 侧边栏 -->
				<div class="col-md-3 aw-side-bar hidden-xs hidden-sm">
					<!-- 发起人 -->
										<div class="aw-mod">
						<div class="mod-head">
							<h3>发起人</h3>
						</div>
						<div class="mod-body">
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="http://wenda.golaravel.com/people/lyz19940727"><img alt="lyz19940727" src="http://wenda.golaravel.com/static/common/avatar-mid-img.png"></a>
								</dt>
								<dd class="pull-left">
									<a class="aw-user-name" href="http://wenda.golaravel.com/people/lyz19940727" data-id="1599">lyz19940727</a>
																											<p></p>
								</dd>
							</dl>
						</div>
					</div>
										<!-- end 发起人 -->



										<!-- 相关问题 -->
					<div class="aw-mod">
						<div class="mod-head">
							<h3>相关问题</h3>
						</div>
						<div class="mod-body font-size-12">
							<ul>
																<li><a href="http://wenda.golaravel.com/question/4">关于Laravel教程的一些调研</a></li>
																<li><a href="http://wenda.golaravel.com/question/1338">吐槽一下laravel问答系统</a></li>
																<li><a href="http://wenda.golaravel.com/question/101">laravel现在有什么现成的案例吗</a></li>
																<li><a href="http://wenda.golaravel.com/question/1048">Laravel 到底哪优雅了？</a></li>
																<li><a href="http://wenda.golaravel.com/question/746">laravel 安装如何选择低版本问题</a></li>
																<li><a href="http://wenda.golaravel.com/question/336">我想使用laravel的时间戳</a></li>
																<li><a href="http://wenda.golaravel.com/question/452">@安正超 @王赛 @FiveSay @JohnLui @码农,几位大神 发布些laravel原理的高级教程吧！</a></li>
																<li><a href="http://wenda.golaravel.com/question/527">Laravel+Node.js</a></li>
																<li><a href="http://wenda.golaravel.com/question/92">laravel中表格的validation</a></li>
																<li><a href="http://wenda.golaravel.com/question/95">【完结】Laravel 4 系列入门教程【最适合中国人的Laravel教程】</a></li>
																<li><a href="http://wenda.golaravel.com/question/328">利用laravel administrator如何导入excel数据？</a></li>
															</ul>
						</div>
					</div>
					<!-- end 相关问题 -->

					<!-- 问题状态 -->
					<div class="aw-mod question-status">
						<div class="mod-head">
							<h3>问题状态</h3>
						</div>
						<div class="mod-body">
							<ul>
								<li>最新活动: <span class="aw-text-color-blue">2015-06-06 18:19</span></li>
								<li>浏览: <span class="aw-text-color-blue">127</span></li>
								<li>关注: <span class="aw-text-color-blue">2</span> 人</li>

								<li class="aw-border-radius-5" id="focus_users"><a href="http://wenda.golaravel.com/people/lyz19940727"><img src="http://wenda.golaravel.com/static/common/avatar-mid-img.png" class="aw-user-name" data-id="1599" alt="lyz19940727"></a> <a href="http://wenda.golaravel.com/people/it%E7%94%B7%E9%82%A3%E7%82%B9%E4%BA%8B"><img src="http://wenda.golaravel.com/static/common/avatar-mid-img.png" class="aw-user-name" data-id="1600" alt="it男那点事"></a> </li>
							</ul>
						</div>
					</div>
					<!-- end 问题状态 -->
				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
{% endblock %}